package com.drojian.thread.waitandnotify;

import org.junit.Test;


public class ThreadTest {
    @Test
    public void test1() {

        Cookie cookie = new Cookie();
        Food food = new Food();
        cookie.setName("厨师");
        food.setName("吃货");
        cookie.start();
        food.start();
    }
}
